package cn.bonoon.controllers.owner;

import cn.bonoon.kernel.annotations.Transform;
import cn.bonoon.kernel.support.models.ObjectEditor;
import cn.bonoon.kernel.web.annotations.components.AsTextArea;
import cn.bonoon.kernel.web.annotations.form.FormUpdate;
import cn.bonoon.kernel.web.annotations.form.PropertyEditor;

@Transform
@FormUpdate(2)
public class OwnerUpdate extends ObjectEditor implements OwnerDefine {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3791855216214981636L;

	@PropertyEditor(value = 0, required = true, colspan = 1)
	private String name;

	@PropertyEditor(value = 20, colspan = 1)
	@AsTextArea
	private String remark;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
